Skip to content

Conversation

nsynet
Copy link

@nsynet nsynet commented Aug 13, 2025

user can add new command as "my_function()", their input will auto parsed ,and it support max 5 parammeters ,each no longer than 10,as below example:

`

MyCommand P1 P2 P3 P4 P55555555555 P6
5
P1
P2
P3
P4
P555555555
`
The 5 and 10 can be adjusted in macros to reduce RAM usage:

#define MAX_CMD_ARGC_NUM (5) #define MAX_CMD_ARGV_STR_LENGTH (10 + 1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant